#include <stdio.h>
#include <stdlib.h>

int main()
{
    char *s="hello";
    int d=100;

    printf("%%-8s:(%-8s)  %%.8s:(%.8s)  %%.4s:(%.4s)\n",
           s, s, s);
    printf("%%-6d:(%-6d)  %%.6d:(%.6d)  %%06d:(%06d)  %%6d:(%6d)\n",
            d, d, d, d);

    return(0);
}
